package com.yidiandao.business.data.response;

import com.google.gson.annotations.SerializedName;
import com.yidiandao.business.data.net.BaseResponse;

import java.util.List;

/**
 * 发现的主分类
 * <p>
 * Created by SunDing(dindding@163.com) on 2017/4/12 16:01
 */
public class DiscoveryMainTypeResponse extends BaseResponse {

    @SerializedName("data")
    private Data data;

    public Data getData() {
        return data;
    }

    public void setData(Data data) {
        this.data = data;
    }

    public static class Data {

        @SerializedName("cat_type")
        private List<CatTypeEntity> catType;

        public List<CatTypeEntity> getCatType() {
            return catType;
        }

        public void setCatType(List<CatTypeEntity> catType) {
            this.catType = catType;
        }

    }

    public static class CatTypeEntity {

        @SerializedName("type_id")
        private int typeId;

        @SerializedName("type_name")
        private String typeName;

        public int getTypeId() {
            return typeId;
        }

        public void setTypeId(int typeId) {
            this.typeId = typeId;
        }

        public String getTypeName() {
            return typeName;
        }

        public void setTypeName(String typeName) {
            this.typeName = typeName;
        }
    }
}
